package cn.wizzer.app.match.modules.services;

import cn.wizzer.app.match.modules.models.vo.MatchVO;
import cn.wizzer.app.user.modules.models.vo.MatchLives;
import cn.wizzer.framework.base.service.BaseService;
import cn.wizzer.framework.page.Pagination;

import java.util.Collection;

public interface MatchService extends BaseService<MatchVO> {

    void sync();

    Collection categoryList();

    Pagination listByCode(String code, Long startTime, Long endTime, int pageNumber, int pageSize);

    /**
     * @param match
     * 修改缓存数据
     */
    void updateByVideoId(MatchLives match);

    MatchLives hget(String id);
}
